package com.shenxuchen.crm.mapper;

import com.shenxuchen.crm.pojo.Clue;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface ClueMapper {
    List getList(Map search);

    @Select("select * from tbl_clue where id=#{id}")
    Clue getById(String id);

    @Delete("delete from tbl_clue where id=#{clueId}")
    void delete(String clueId);
}
